import React from 'react';
import {Route} from 'react-router';
import App from './components/App';
import Home from './components/Home';
import AddCharacter from './components/AddCharacter';
import Login from './components/Login';
import UploadFile from './components/UploadFile';

export default (
    <Route handler={App}>
        <Route path='/' handler={Home} />
        <Route path='/add' handler={AddCharacter} />
        <Route path='/uploadFile' handler={UploadFile} />
        <Route path='/login' handler={Login} />
    </Route>
);